package pack0604;

public class DemoA {
    public static void main(String[] args) {
        int a = 4;
        System.out.println(a);
        boolean b = true;
        System.out.println(b);
        char c = 'h'; //一个字符 单引号
        System.out.println(c);
        //数值部分:byte<short<[int]<long  float<[double]
        //整数
        byte d = 32;
        System.out.println(d);
        short e = 3325;
        System.out.println(e);
        int f = -357552454; //整数默认用int
        System.out.println(f);
        long g = 355555523;
        System.out.println(g);
        //小数
        float h = 3.2f;
        System.out.println(h);
        double i = 3.2; //小数默认用double,如用float,需用f标明
        System.out.println(i);
        //String 字符串  双引号


    }
}
